﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Reflection;
namespace LambdaProj
{
    public class ReflectHelper
    {
        public static void GetDtType()
        {
            DateTime dt = new DateTime();
            Type type = dt.GetType();
            foreach(PropertyInfo p in type.GetProperties())
            {
                Console.WriteLine(p.Name);
            }

            ThreadPriorityLevel priorty;
            priorty = (ThreadPriorityLevel)Enum.Parse(typeof(ThreadPriorityLevel), "Idle");

        }

        
    }
}
